<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>embedme: DoubleArray类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_double_array-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">DoubleArray类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>浮点型数组类  
 <a href="class_double_array.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_array_8h_source.html">Array.h</a>&gt;</code></p>
<div class="dynheader">
类 DoubleArray 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_double_array.png" usemap="#DoubleArray_map" alt=""/>
  <map id="DoubleArray_map" name="DoubleArray_map">
<area href="class_array.html" title="抽象数组类 " alt="Array" shape="rect" coords="0,0,85,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a260af75f1728ea6b65789f917c3330f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#a260af75f1728ea6b65789f917c3330f6">DoubleArray</a> ()</td></tr>
<tr class="memdesc:a260af75f1728ea6b65789f917c3330f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">浮点型数组构造函数  <a href="#a260af75f1728ea6b65789f917c3330f6">更多...</a><br /></td></tr>
<tr class="separator:a260af75f1728ea6b65789f917c3330f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f3132c19707700005543ade72d7754b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#a3f3132c19707700005543ade72d7754b">~DoubleArray</a> ()</td></tr>
<tr class="memdesc:a3f3132c19707700005543ade72d7754b"><td class="mdescLeft">&#160;</td><td class="mdescRight">浮点型数组析构函数  <a href="#a3f3132c19707700005543ade72d7754b">更多...</a><br /></td></tr>
<tr class="separator:a3f3132c19707700005543ade72d7754b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab27c08caf605f294a106acdda1416bb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#aab27c08caf605f294a106acdda1416bb">initWithString</a> (const string &amp;arrayString)</td></tr>
<tr class="memdesc:aab27c08caf605f294a106acdda1416bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">从格式化的字符串中初始化数组  <a href="#aab27c08caf605f294a106acdda1416bb">更多...</a><br /></td></tr>
<tr class="separator:aab27c08caf605f294a106acdda1416bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0261285b343070de006dc0ac39ef64"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#aaa0261285b343070de006dc0ac39ef64">serialize</a> ()</td></tr>
<tr class="memdesc:aaa0261285b343070de006dc0ac39ef64"><td class="mdescLeft">&#160;</td><td class="mdescRight">序列化字符串数组  <a href="#aaa0261285b343070de006dc0ac39ef64">更多...</a><br /></td></tr>
<tr class="separator:aaa0261285b343070de006dc0ac39ef64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53c441cbbe36c61fc7f31ba8592feb33"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#a53c441cbbe36c61fc7f31ba8592feb33">size</a> ()</td></tr>
<tr class="memdesc:a53c441cbbe36c61fc7f31ba8592feb33"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取数组大小  <a href="#a53c441cbbe36c61fc7f31ba8592feb33">更多...</a><br /></td></tr>
<tr class="separator:a53c441cbbe36c61fc7f31ba8592feb33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a9197141db72afa7945cb076a62e21f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#a7a9197141db72afa7945cb076a62e21f">type</a> ()</td></tr>
<tr class="memdesc:a7a9197141db72afa7945cb076a62e21f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取类型  <a href="#a7a9197141db72afa7945cb076a62e21f">更多...</a><br /></td></tr>
<tr class="separator:a7a9197141db72afa7945cb076a62e21f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95db6bc6b85d81c19cc910d2f2219b00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#a95db6bc6b85d81c19cc910d2f2219b00">clear</a> ()</td></tr>
<tr class="memdesc:a95db6bc6b85d81c19cc910d2f2219b00"><td class="mdescLeft">&#160;</td><td class="mdescRight">清空数组  <a href="#a95db6bc6b85d81c19cc910d2f2219b00">更多...</a><br /></td></tr>
<tr class="separator:a95db6bc6b85d81c19cc910d2f2219b00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a260272f5ea904f0c2c3bf0e5eef29d17"><td class="memItemLeft" align="right" valign="top">double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#a260272f5ea904f0c2c3bf0e5eef29d17">operator[]</a> (int idx)</td></tr>
<tr class="memdesc:a260272f5ea904f0c2c3bf0e5eef29d17"><td class="mdescLeft">&#160;</td><td class="mdescRight">[]运算符重载,获取数组元素  <a href="#a260272f5ea904f0c2c3bf0e5eef29d17">更多...</a><br /></td></tr>
<tr class="separator:a260272f5ea904f0c2c3bf0e5eef29d17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:add0efbf9b528f85c208251b4c4bffef6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_double_array.html">DoubleArray</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_array.html#add0efbf9b528f85c208251b4c4bffef6">operator&lt;&lt;</a> (<a class="el" href="class_double_array.html">DoubleArray</a> &amp;, double)</td></tr>
<tr class="memdesc:add0efbf9b528f85c208251b4c4bffef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt;&lt;运算符重载,实现给数组添加元素  <a href="#add0efbf9b528f85c208251b4c4bffef6">更多...</a><br /></td></tr>
<tr class="separator:add0efbf9b528f85c208251b4c4bffef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>浮点型数组类 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a260af75f1728ea6b65789f917c3330f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DoubleArray::DoubleArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>浮点型数组构造函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a3f3132c19707700005543ade72d7754b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DoubleArray::~DoubleArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>浮点型数组析构函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>none </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a95db6bc6b85d81c19cc910d2f2219b00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DoubleArray::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>清空数组 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>none </dd></dl>

<p>实现了 <a class="el" href="class_array.html">Array</a>.</p>

</div>
</div>
<a class="anchor" id="aab27c08caf605f294a106acdda1416bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool DoubleArray::initWithString </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>arrayString</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>从格式化的字符串中初始化数组 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">arrayString</td><td>格式化字符串,例如:[0.123,1.234,2.345] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

<p>实现了 <a class="el" href="class_array.html">Array</a>.</p>

</div>
</div>
<a class="anchor" id="a260272f5ea904f0c2c3bf0e5eef29d17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double &amp; DoubleArray::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>[]运算符重载,获取数组元素 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回索引为idx的数组元素 </dd></dl>

</div>
</div>
<a class="anchor" id="aaa0261285b343070de006dc0ac39ef64"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string DoubleArray::serialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>序列化字符串数组 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回格式化字符串:[0.123,1.234,2.345] </dd></dl>

<p>实现了 <a class="el" href="class_array.html">Array</a>.</p>

</div>
</div>
<a class="anchor" id="a53c441cbbe36c61fc7f31ba8592feb33"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int DoubleArray::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取数组大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回数组大小(元素个数) </dd></dl>

<p>实现了 <a class="el" href="class_array.html">Array</a>.</p>

</div>
</div>
<a class="anchor" id="a7a9197141db72afa7945cb076a62e21f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int DoubleArray::type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取类型 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>BASETYPE_DOUBLEARRAY </dd></dl>

<p>实现了 <a class="el" href="class_array.html">Array</a>.</p>

</div>
</div>
<h2 class="groupheader">友元及相关函数文档</h2>
<a class="anchor" id="add0efbf9b528f85c208251b4c4bffef6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_double_array.html">DoubleArray</a>&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_double_array.html">DoubleArray</a> &amp;&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt;&lt;运算符重载,实现给数组添加元素 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回数组 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>libemb/inc/<a class="el" href="_array_8h_source.html">Array.h</a></li>
<li>libemb/src/Array.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2016年 七月 7日 星期四 19:49:38 , 为 embedme使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
